@layout("/common/_container.html"){
<style>.btnBox{position:fixed;bottom:0;width:100%;padding:10px;background:#f1f1f1;text-align:right}.btnBox>button{margin:0;color:inherit;background:white;border:1px solid #999999;font-size:1em;text-align:center}#sortReservationMatching > div{display:flex;padding:5px 0;border-bottom:1px solid #DDDDDD}</style>
<div class="ibox float-e-margins" style="height: 100%">
    <div style="display: none">
        <input type="hidden" id="startArrivalTime" value="">
        <input type="hidden" id="endArrivalTime" value="">
        <input type="hidden" id="customerPhone" value="${customerPhone}">
        <input type="hidden" id="size" value="${size}">
    </div>
    <div style="height: 100%">
        <div style="background: #00a0ea;color: white;padding: 5px 10px;">匹配结果</div>
        <div style="height: calc(100% - 77px);overflow:auto">
            <#sortReservationMatching  id="sortReservationMatching" list="${reservationsInfoList}"/>
        </div>
        <div class="btnBox">
            <button type="button" class="btn" id="addCus" onclick="openAddNature()" style="background: #00a0ea;color: white;border: none;position: absolute;left: 10px;">新增患者</button>
            <button type="button" class="btn" id="cancel" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name))">取消</button>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/arrival/customer/nature_courtyard.js?v=20200628"></script>
@}